<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTPlotRange.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_plot_range_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTPlotRange.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_c_p_t_plot_range_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &quot;<a class="code" href="_c_p_t_definitions_8h.html">CPTDefinitions.h</a>&quot;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00003"></a>00003 
<a name="l00005"></a>00005 
<a name="l00009"></a><a class="code" href="_c_p_t_plot_range_8h.html#aedea55e2b92f02f441ccf90fa7079a65">00009</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="_c_p_t_plot_range_8h.html#aedea55e2b92f02f441ccf90fa7079a65" title="Enumeration of possible results of a plot range comparison.">_CPTPlotRangeComparisonResult</a> {
<a name="l00010"></a><a class="code" href="_c_p_t_plot_range_8h.html#aedea55e2b92f02f441ccf90fa7079a65a0df0dfdbdaac682ab8222931c2edcc43">00010</a>     <a class="code" href="_c_p_t_plot_range_8h.html#aedea55e2b92f02f441ccf90fa7079a65a0df0dfdbdaac682ab8222931c2edcc43" title="Number is below the range.">CPTPlotRangeComparisonResultNumberBelowRange</a>, 
<a name="l00011"></a><a class="code" href="_c_p_t_plot_range_8h.html#aedea55e2b92f02f441ccf90fa7079a65aaeca9805478134f36dd1ec1dd0372f35">00011</a>     <a class="code" href="_c_p_t_plot_range_8h.html#aedea55e2b92f02f441ccf90fa7079a65aaeca9805478134f36dd1ec1dd0372f35" title="Number is in the range.">CPTPlotRangeComparisonResultNumberInRange</a>,    
<a name="l00012"></a><a class="code" href="_c_p_t_plot_range_8h.html#aedea55e2b92f02f441ccf90fa7079a65a11f1d4e2513b89d49806e52a3e2472ca">00012</a>     <a class="code" href="_c_p_t_plot_range_8h.html#aedea55e2b92f02f441ccf90fa7079a65a11f1d4e2513b89d49806e52a3e2472ca" title="Number is above the range.">CPTPlotRangeComparisonResultNumberAboveRange</a>  
<a name="l00013"></a>00013 }
<a name="l00014"></a>00014 <a class="code" href="_c_p_t_plot_range_8h.html#ad92f84ba04a8d6ee647958d00308cf18" title="Enumeration of possible results of a plot range comparison.">CPTPlotRangeComparisonResult</a>;
<a name="l00015"></a>00015 
<a name="l00016"></a><a class="code" href="interface_c_p_t_plot_range.html">00016</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_plot_range.html" title="Defines an immutable range of plot data.">CPTPlotRange</a> : <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&lt;<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">NSCoding</a>, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html">NSCopying</a>, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSMutableCopying_Protocol/Reference/Reference.html">NSMutableCopying</a>&gt; {
<a name="l00017"></a>00017     <span class="keyword">@private</span>
<a name="l00018"></a><a class="code" href="interface_c_p_t_plot_range.html#a4a08297f54ea2d501bd8746f77f06d75">00018</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="interface_c_p_t_plot_range.html#a4a08297f54ea2d501bd8746f77f06d75" title="The starting value of the range.">location</a>;
<a name="l00019"></a><a class="code" href="interface_c_p_t_plot_range.html#a079301917de2e7c77155cea95f6bb93c">00019</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="interface_c_p_t_plot_range.html#a079301917de2e7c77155cea95f6bb93c" title="The length of the range.">length</a>;
<a name="l00020"></a><a class="code" href="interface_c_p_t_plot_range.html#a447a54ef48bca11fcbae18587d6a424f">00020</a>     <span class="keywordtype">double</span> <a class="code" href="interface_c_p_t_plot_range.html#a447a54ef48bca11fcbae18587d6a424f" title="The starting value of the range as a double.">locationDouble</a>;
<a name="l00021"></a><a class="code" href="interface_c_p_t_plot_range.html#aa7817342686ff669df468071ffae44c3">00021</a>     <span class="keywordtype">double</span> <a class="code" href="interface_c_p_t_plot_range.html#aa7817342686ff669df468071ffae44c3" title="The length of the range as a double.">lengthDouble</a>;
<a name="l00022"></a>00022 }
<a name="l00023"></a>00023 
<a name="l00026"></a>00026 <span class="keyword">@property</span> (nonatomic, readonly) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> location;
<a name="l00027"></a>00027 <span class="keyword">@property</span> (nonatomic, readonly) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> length;
<a name="l00028"></a><a class="code" href="interface_c_p_t_plot_range.html#adc543d1939579179e9d6a4614e617a45">00028</a> <span class="keyword">@property</span> (nonatomic, readonly) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> end;
<a name="l00029"></a>00029 <span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">double</span> locationDouble;
<a name="l00030"></a>00030 <span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">double</span> lengthDouble;
<a name="l00031"></a><a class="code" href="interface_c_p_t_plot_range.html#aa01772dc9e183b18fddb47204b8fe77e">00031</a> <span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">double</span> endDouble;
<a name="l00032"></a>00032 
<a name="l00033"></a><a class="code" href="interface_c_p_t_plot_range.html#a141a2b5f4b14eee65bd61d121477850e">00033</a> <span class="keyword">@property</span> (nonatomic, readonly) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> minLimit;
<a name="l00034"></a><a class="code" href="interface_c_p_t_plot_range.html#af95c83cdf0b6f8a6b98402febdda6147">00034</a> <span class="keyword">@property</span> (nonatomic, readonly) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> midPoint;
<a name="l00035"></a><a class="code" href="interface_c_p_t_plot_range.html#a62480dc618823e2efec97c8ebe1090d6">00035</a> <span class="keyword">@property</span> (nonatomic, readonly) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> maxLimit;
<a name="l00036"></a><a class="code" href="interface_c_p_t_plot_range.html#a211376d108e43009457867b616fe8f3b">00036</a> <span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">double</span> minLimitDouble;
<a name="l00037"></a><a class="code" href="interface_c_p_t_plot_range.html#ae643ffe8042fcc24173c8cd4dc82e558">00037</a> <span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">double</span> midPointDouble;
<a name="l00038"></a><a class="code" href="interface_c_p_t_plot_range.html#a71430ba5a14b9e09829b95fbc2d37479">00038</a> <span class="keyword">@property</span> (nonatomic, readonly) <span class="keywordtype">double</span> maxLimitDouble;
<a name="l00040"></a>00040 
<a name="l00043"></a>00043 +(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)plotRangeWithLocation:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>)loc length:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>)len;
<a name="l00045"></a>00045 
<a name="l00048"></a>00048 -(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)initWithLocation:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>)loc length:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>)len;
<a name="l00050"></a>00050 
<a name="l00053"></a>00053 -(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)contains:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>)number;
<a name="l00054"></a>00054 -(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)containsDouble:(<span class="keywordtype">double</span>)number;
<a name="l00055"></a>00055 -(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)isEqualToRange:(<a class="code" href="interface_c_p_t_plot_range.html" title="Defines an immutable range of plot data.">CPTPlotRange</a> *)otherRange;
<a name="l00057"></a>00057 
<a name="l00060"></a>00060 -(<a class="code" href="_c_p_t_plot_range_8h.html#ad92f84ba04a8d6ee647958d00308cf18" title="Enumeration of possible results of a plot range comparison.">CPTPlotRangeComparisonResult</a>)compareToNumber:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.html">NSNumber</a> *)number;
<a name="l00061"></a>00061 -(<a class="code" href="_c_p_t_plot_range_8h.html#ad92f84ba04a8d6ee647958d00308cf18" title="Enumeration of possible results of a plot range comparison.">CPTPlotRangeComparisonResult</a>)compareToDecimal:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a>)number;
<a name="l00062"></a>00062 -(<a class="code" href="_c_p_t_plot_range_8h.html#ad92f84ba04a8d6ee647958d00308cf18" title="Enumeration of possible results of a plot range comparison.">CPTPlotRangeComparisonResult</a>)compareToDouble:(<span class="keywordtype">double</span>)number;
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_c_p_t_plot_range_8h.html">CPTPlotRange.h</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
